package com.honour.busserver.backup.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

@Component
@ConfigurationProperties(prefix = "centos")
@Data
public class CentOSOneEntity {

    private String host;
    /* 连接端口 */
    private  int port;
    /* 编码 */
    private Charset charset = StandardCharsets.UTF_8;
    /* 用户 */
    private String user;
    /* 密码 */
    private String password;
    /**
     *  数据库账号
     */
    private String dbUser;
    /**
     *  数据库密码
     */
    private String dbPassword;

    /**
     *  数据库bin目录
     */
    private String bin;


}
